#pragma once
#include <zGraphicsConfig.hpp>
#include "../../Graphics/Graphics.hpp"

namespace zzz{
class ZGRAPHICS_CLASS Light {
public:
  Light();
  void Enable(GLenum l=0);
  void Disable();
  void DrawLine();
  void Rotate(const GLfloat *rotmat);
  static void Disable(GLenum l);
  static void DisableAll();

  GLenum mylight_;
  GLfloat oripos_[4],pos_[4],amb_[4],dif_[4],spe_[4];
  bool inited_;
};
}